#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QPainter>
#include <QLineEdit>
#include <QPushButton>
#include <QLabel>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE


class RasterWidget;

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

signals:

private slots:

    void on_btnRender_clicked(bool checked);

    void widgetMain_sizeChanged();

private:

    Ui::Widget *ui;
    static constexpr int kEditCount = 3;
    QLineEdit *editEye[kEditCount];
    QLineEdit *editLight[kEditCount];

    QPushButton *btnRender;
    QLabel *lbSizeInfo;
    RasterWidget *widgetMain;
};
#endif // WIDGET_H
